home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / picture / color.h < prev    next >
Text File  |  1993-09-23  |  542b  |  43 lines

  1. //    Copyright 1993 Ralph Gonzalez
  2.  
  3. /*
  4. *    FILE:        color.h
  5. *    AUTHOR:        R. Gonzalez
  6. *    CREATED:    Oct. 6, 1990
  7. *
  8. *    color type; colors available.
  9. */
  10.  
  11. # ifndef    color_h
  12. # define    color_h
  13.  
  14.  # define    COLOR
  15.  
  16. # ifdef        COLOR
  17.  
  18. # define    BLACK        0
  19. # define    WHITE        1
  20. # define    RED            2
  21. # define    YELLOW        3
  22. # define    GREEN        4
  23. # define    BLUE        5
  24. # define    CYAN        6
  25. # define    MAGENTA        7
  26.  
  27. # else
  28.  
  29. # define    BLACK        0
  30. # define    WHITE        1
  31. # define    RED            0
  32. # define    YELLOW        1
  33. # define    GREEN        0
  34. # define    BLUE        0
  35. # define    CYAN        1
  36. # define    MAGENTA        1
  37.  
  38. # endif
  39.  
  40. typedef    int    color;
  41.  
  42. # endif
  43.